class Square:
    def __init__(self, upper_right, lower_left):
        self.ur = upper_right
        self.ll = lower_left
        
    def contains(self, point):
        return point[0] >= self.ur[0] and point[0] <= self.ll[0] and\
               point[1] >= self.ur[1] and point[1] <= self.ll[1]
        
    